package driver.service;

import driver.dao.PayforDaoImpl_a;
import driver.dao.PayforDao_a;
import driver.entity.Payfor;

import java.sql.SQLException;
import java.util.ArrayList;

public class PayforServiceImpl_a implements PayforService_a {
    private PayforDao_a dao=new PayforDaoImpl_a();
    @Override
    public ArrayList<Payfor> select_all() throws SQLException {
        return dao.select_all();
    }

    @Override
    public boolean handle(Payfor payfor) throws SQLException {
        return dao.handle(payfor);
    }
}
